package com.htrq.entity;

public class User {
	private int userid;
	private String uname;// 登录名
	private String relname;// 姓名
	private String upwd;// 密码
	private String sex;// 性别
	private int deptid;// 部门
	private int rolid;// 角色
	/**
	 * 不考虑设定关联关系 关系设定后添加的外键约束处理起来太麻烦
	 */
	private String rname;// 角色名称
	private String dname;// 部门名称
	private String telphone;// 电话
	private String remark;// 说明

	public User() {
	}
	public User(int userid, String uname, String relname, String upwd, String telphone ,String rname) {
		this.userid = userid;
		this.uname = uname;
		this.relname = relname;
		this.upwd = upwd;
		this.telphone = telphone;
		this.rname = rname;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getRelname() {
		return relname;
	}
	public void setRelname(String relname) {
		this.relname = relname;
	}
	public String getUpwd() {
		return upwd;
	}
	public void setUpwd(String upwd) {
		this.upwd = upwd;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getDeptid() {
		return deptid;
	}
	public void setDeptid(int deptid) {
		this.deptid = deptid;
	}
	public int getRolid() {
		return rolid;
	}
	public void setRolid(int rolid) {
		this.rolid = rolid;
	}
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getRname() {
		return rname;
	}
	public void setRname(String rname) {
		this.rname = rname;
	}
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
}
